using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.IO;

namespace VisitWebSite
{
    public class clsTargetBlog : TaskBase
    {

        protected TargetBlogInfo _TargetBlogInfo = new TargetBlogInfo();
        protected MyBlogInfo _MyBlogInfo = new MyBlogInfo();
        protected string _Key = "";

        private void CreateKey(TargetBlogInfo tbi)
        {
            _Key = tbi.BlogUrl;
        }

        public MyBlogInfo mMyBlogInfo
        {
            get { return _MyBlogInfo; }
            set { _MyBlogInfo = value;}
        }

        public TargetBlogInfo mTargetBlogInfo
        {
            get { return _TargetBlogInfo; }
            set
            {
                _TargetBlogInfo = value;
                CreateKey(_TargetBlogInfo);
            }
        }

        public string UID
        {
            get { return _TargetBlogInfo.Uid; }
        }

        public string KEY
        {
            get { return _Key; }
        }


    }
}
